function search(){
	document.indexForm.submit();
}
 
function trim(str){
  return str.replace(/(^\s*)|(\s*$)/g,"");
}
function submitValue(){
var str=CKEDITOR.instances.b_content.getData();
 	str=trim(str);
  if(str == ""){
  	alert("请输入回复内容!");
  	CKEDITOR.instances.b_content.focus();
		return false;
	}
}
	 
function delOneNews(val){
  if(window.confirm('确认删除吗？')){
 	  window.location.href='/doTradeReg.do?pkid='+val+'&bpm_id=4364'; 
  } 
}